package com.mcxx.modules.nopage.dto;

import com.mcxx.modules.annotations.TableInfoAnnotations;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


@Data
public class HNTKSalvationEFileDTO {

    @ApiModelProperty(value = "档案编号")
    private String documentCode;

    @ApiModelProperty(value = "救助类型")
    private String salvationType;

    @ApiModelProperty(value = "申请人")
    private String name;

    @ApiModelProperty(value = "乡镇")
    private String town;

    @ApiModelProperty(value = "社区")
    private String area;

    @ApiModelProperty(value = "申请年")
    private String crYear;

    @ApiModelProperty(value = "申请月")
    private String crMonth;

    @ApiModelProperty(value = "申请日")
    private String crDay;

    @ApiModelProperty(value = "家庭人口数")
    private String famNumber;

    @ApiModelProperty(value = "户籍地址")
    private String regAddress;

    @ApiModelProperty(value = "创建人")
    private String creater;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "出生年")
    private String birYear;

    @ApiModelProperty(value = "出生月")
    private String birMonth;

    @ApiModelProperty(value = "身份证号码")
    private String idCard;

    @ApiModelProperty(value = "电话")
    private String telephone;

    @ApiModelProperty(value = "街道")
    private String street;

    @ApiModelProperty(value = "身体状况")
    private String healthInfo;

    @ApiModelProperty(value = "残疾级别")
    private String disabilityLevel;

    @ApiModelProperty(value = "自理能力")
    private String normal;

    @ApiModelProperty(value = "户籍性质")
    private String regType;

    @ApiModelProperty(value = "银行卡号")
    private String bankNo;

    @ApiModelProperty(value = "申请原因")
    private String applyReason;

    @ApiModelProperty(value = "入户调查记录")
    private String surveyInfo;

    @ApiModelProperty(value = "入户调查人")
    private String surveier;

    @ApiModelProperty(value = "入户调查年")
    private String surYear;

    @ApiModelProperty(value = "入户调查月")
    private String surMonth;

    @ApiModelProperty(value = "入户调查日")
    private String surDay;

    @ApiModelProperty(value = "供养方式")
    private String PO_supplyMethod;

    @ApiModelProperty(value = "车辆数量")
    private String PO_carNumber;

    @ApiModelProperty(value = "评议记录")
    private String PO_rRecord;

    @ApiModelProperty(value = "评议人")
    private String PO_rName;

    @ApiModelProperty(value = "评议人")
    private String PO_rName1;

    @ApiModelProperty(value = "评议年")
    private String PO_rYear;

    @ApiModelProperty(value = "评议月")
    private String PO_rMonth;

    @ApiModelProperty(value = "评议日")
    private String PO_rDay;

    @Data
    @ApiModel(value = "申请人和家庭成员信息")
    @TableInfoAnnotations(rowMax = 8)
    public static class ApplyFamilierInfo {
        @ApiModelProperty(value = "姓名")
        @TableInfoAnnotations(rowIndex = 1, rowStart = 2)
        private String name;

        @ApiModelProperty(value = "身份证号")
        @TableInfoAnnotations(rowIndex = 2, rowStart = 2)
        private String idCard;

        @ApiModelProperty(value = "与申请人关系")
        @TableInfoAnnotations(rowIndex = 3, rowStart = 2)
        private String relation;

        @ApiModelProperty(value = "签字")
        @TableInfoAnnotations(rowIndex = 4, rowStart = 2)
        private String signName;
    }

    @Data
    @ApiModel(value = "家庭生活成员信息")
    @TableInfoAnnotations(rowMax = 8)
    public static class FamilyMemberInfo {

        @ApiModelProperty(value = "家庭表id")
        private String id;

        @ApiModelProperty(value = "姓名")
        @TableInfoAnnotations(rowIndex = 1, rowStart = 11)
        private String name;

        @ApiModelProperty(value = "与户主关系")
        @TableInfoAnnotations(rowIndex = 2, rowStart = 11)
        private String relation;

        @ApiModelProperty(value = "性别")
        @TableInfoAnnotations(rowIndex = 3, rowStart = 11)
        private String sex;

        @ApiModelProperty(value = "健康状况")
        @TableInfoAnnotations(rowIndex = 4, rowStart = 11)
        private String healthInfo;

        @ApiModelProperty(value = "身份证号码")
        @TableInfoAnnotations(rowIndex = 5, rowStart = 11)
        private String idCard;

        @ApiModelProperty(value = "工作单位")
        @TableInfoAnnotations(rowIndex = 6, rowStart = 11)
        private String jobPost;
    }

    @Data
    @ApiModel(value = "审核家庭生活成员信息")
    @TableInfoAnnotations(rowMax = 3)
    public static class ReviewFamilyMemberInfo {

        @ApiModelProperty(value = "家庭表id")
        private String id;

        @ApiModelProperty(value = "姓名")
        @TableInfoAnnotations(rowIndex = 2, rowStart = 5)
        private String name;

        @ApiModelProperty(value = "与户主关系")
        @TableInfoAnnotations(rowIndex = 3, rowStart = 5)
        private String relation;

        @ApiModelProperty(value = "性别")
        @TableInfoAnnotations(rowIndex = 4, rowStart = 5)
        private String sex;

        @ApiModelProperty(value = "健康状况")
        @TableInfoAnnotations(rowIndex = 5, rowStart = 5)
        private String healthInfo;

        @ApiModelProperty(value = "身份证号码")
        @TableInfoAnnotations(rowIndex = 6, rowStart = 5)
        private String idCard;

        @ApiModelProperty(value = "工作单位")
        @TableInfoAnnotations(rowIndex = 7, rowStart = 5)
        private String jobPost;
    }
}
